import { $axios } from 'boot/axios';

export default {
  login: (credentials) => $axios.post('/member/auth/token', credentials),
  register: (data) => $axios.post('/member/member/', data),
  forgotPassword: (email) => $axios.post('/forgot-password', email),
  logout: (data) => $axios.post('/auth/logout', data),
};
